using System;
using C4Net.Data.Definitions;
using C4Net.Data.Interfaces;
using C4Net.JC3IEDM.Enums;
using C4Net.JC3IEDM.Expressions;
using C4Net.JC3IEDM.Interfaces;

namespace C4Net.JC3IEDM.Entities
{
    /// <summary>
    /// Class for the entity COMPONENT-TEXT-CONTENT that represents the table CMPNT_TXT_CNTNT.
	///
	/// A textual statement of substantive subject matter.
    /// </summary>
    [Serializable]
    [DefinitionName("ComponentTextContent", "C4Net.JC3IEDM.Definitions.ComponentTextContent.definition.xml")]
    public class ComponentTextContent : IEntity, IComponentTextContent
    {
        #region - Fields - 

        /// <summary>
        /// Expression builder for this entity.
        /// </summary>
        public static readonly ComponentTextContentExpression _ = new ComponentTextContentExpression();

        #endregion

        #region - Properties -
		
        /// <summary>
        /// Gets or sets the value of the column cmpnt_txt_cntnt_id
		///
		/// The unique value, or set of characters, assigned to represent a specific COMPONENT-TEXT-CONTENT and to distinguish it from all other COMPONENT-TEXT-CONTENTs.
        /// </summary>
        /// <value>
        /// Value of the column cmpnt_txt_cntnt_id
        /// </value>
		public decimal Id { get; set; }
		
        /// <summary>
        /// Gets or sets the value of the column txt
		///
		/// The character string that is the substantive textual content for a specific COMPONENT-TEXT-CONTENT.
        /// </summary>
        /// <value>
        /// Value of the column txt
        /// </value>
		public string Text { get; set; }
		
        /// <summary>
        /// Gets or sets the value of the column creator_id
		///
		/// A value assigned to the row to identify the organisation which created that row. This is referenced by an application level business rule to an OBJ_ITEM entry with a cat_code = OR and to a corresponding ORG subtype entry.
        /// </summary>
        /// <value>
        /// Value of the column creator_id
        /// </value>
		public decimal CreatorId { get; set; }
		
        /// <summary>
        /// Gets or sets the value of the column update_seqnr
		///
		/// An absolute sequence number, assigned to represent the validity (in terms of seniority) of a certain data item.
        /// </summary>
        /// <value>
        /// Value of the column update_seqnr
        /// </value>
		public long UpdateSeqnr { get; set; }
		
        #endregion
    }
}
